The students were asked to line up outside the classroom before entering.
To arrange or organize people or things in a straight line or in a particular order. The coach lined up the players according to their positions on the field.
To prepare or arrange for something to happen. She lined up several interviews for the job candidates.
To align or position something correctly. He lined up the picture frames on the wall to ensure they were straight.